#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author:Taotie Ren
# import logging 
# 禁用日志模块
# logging.disable(logging.CRITICAL)
# logging.basicConfig(level=logging.DEBUG, format=' %(asctime)s - %(levelname)s - %(message)s')

import threading, time
print('Start of program.')

def takeANap():
	time.sleep(5)
	print('Wake up!')

threadObj = threading.Thread(target=takeANap())
threadObj.start()

print('End of program.')